package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

//用户表
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class JiuquanUserModel {
    @TableId(type = IdType.AUTO)
    private Integer id;//用户ID
    private String faceUrl;//头像
    private Integer status;//用户状态1是 0否
    private String openId;//微信用户唯一id

    private String userName;
    private String mobile;

    private Timestamp crtTime;
    private Timestamp upTime;
    private Integer rId;
    private Integer cId;
    private Integer rRegisterState;
    @TableField(exist = false)
    private String rRegisterStateText;

    private Integer livePower;//1可直播，其他不可直播

    private Integer cRegisterState;
    private String openid;
    private String passWord;
    @TableField(exist = false)
    private CustomerModel cus;
    @TableField(exist = false)
    private Integer infoStatus;
    @TableField(exist = false)
    private Integer authenticationStatus;
    @TableField(exist = false)
    private Integer comStatus;
    @TableField(exist = false)
    private String realName;
    @TableField(exist = false)
    private ComRecruitersModel com;
    private String remarks;
    @TableField(exist = false)
    private Integer userMsg;
    @TableField(exist = false)
    private Integer resumeStatus;

    @TableField(exist = false)
    private String jobStatusText;
}
